package com.ctsi.ssdc.service;


import com.ctsi.ssdc.model.PageResult;
import org.springframework.data.domain.Pageable;

import com.ctsi.ssdc.domain.LitemallComment;
import com.ctsi.ssdc.domain.LitemallCommentExample;
import com.ctsi.ssdc.service.StrengthenBaseService;

import java.util.List;

/**
 * Service Interface for managing LitemallComment.
 *
 * @author ctsi-biyi-generator
 *
 */
public interface LitemallCommentService 
	extends StrengthenBaseService<LitemallComment, Integer, LitemallCommentExample>{


    /**
    * GET  /litemallComments : get the litemallComments firstStringBaseColumn.
    */
    PageResult<LitemallComment> findFirstStringColumn(String content ,Pageable pageable);

    int save(LitemallComment comment);

    int count(Byte type, Integer valueId, Integer showType);

    List<LitemallComment> query(Byte type, Integer valueId, Integer showType, Integer page, Integer limit);

    List<LitemallComment> queryGoodsByGid(Integer id, int offset, int limit);
}
